import * as NaiveUI from 'naive-ui'

export function setupNaiveDiscreteApi() {
  const { loadingBar } = NaiveUI.createDiscreteApi(['loadingBar'])
  // @ts-ignore
  window['$loading'] = loadingBar
}
